home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form fdialbox
- BackColor = &H00E0E0E0&
- Caption = "Files dialog box"
- ClientHeight = 3672
- ClientLeft = 1260
- ClientTop = 1740
- ClientWidth = 4428
- Height = 3996
- Left = 1212
- LinkTopic = "fdialbox"
- ScaleHeight = 3672
- ScaleWidth = 4428
- Top = 1464
- Width = 4524
- Begin CommandButton Command1
- Caption = "Close"
- Height = 420
- Left = 2856
- TabIndex = 3
- Top = 1956
- Width = 1500
- End
- Begin VBFCombo VBFCombo1
- AutoSearchInList= -1 'True
- AutoSetSel = -1 'True
- BackColor = 0 'Use system colors
- Border3D = -1 'True
- DataType = 1 'Drives
- FilesDisplay = 0 'Quick display
- ForeColor = &H00000000&
- Height = 312
- Help = &H00000000&
- InitialValue = -1
- InValue = "*.*"
- ItemHeight = 18
- Left = 72
- ListHeight = 150
- StaticHeight = 18
- TabIndex = 2
- Text3D = 0 'No 3D
- TextAlignment = 2 'Left
- Top = 3240
- UpperCase = 0 'False
- Prop25 = &H00000000&
- Width = 2172
- Prop23 = 0
- End
- Begin VBFList VBFList2
- BackColor = 0 'Use system colors
- Border3D = -1 'True
- DataType = 1 'Directories
- DisableNoScroll = 0 'False
- FilesDisplay = 0 'Quick display
- ForeColor = &H00000000&
- Height = 1212
- Help = &H00000000&
- InValue = "*.*"
- ItemHeight = 18
- Left = 72
- MultipleSel = 0 'False
- OutValue = "d:\msvc\produits\vbxstd13\src\vbfcombo\fdialbox\"
- ParentNotify = -1 'True
- Sort = -1 'True
- StaticHwnd = 0
- StaticID = 0
- TabIndex = 1
- Text3D = 0 'No 3D
- Top = 1944
- UpperCase = 0 'False
- UseHorizScrollBar= 0 'False
- Prop35 = &H00000000&
- Width = 2172
- Prop33 = 0
- End
- Begin VBFList VBFList1
- BackColor = 0 'Use system colors
- Border3D = -1 'True
- DataType = 0 'Files
- DisableNoScroll = -1 'True
- FilesDisplay = 2 'Extensive mode
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 7.8
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00000000&
- Height = 1788
- Help = &H00000000&
- InValue = "*.*"
- ItemHeight = 18
- Left = 72
- MultipleSel = 0 'False
- OutValue = ""
- ParentNotify = -1 'True
- Sort = -1 'True
- StaticHwnd = 0
- StaticID = 0
- TabIndex = 0
- Text3D = 0 'No 3D
- Top = 72
- UpperCase = 0 'False
- UseHorizScrollBar= 0 'False
- Prop35 = &H00000000&
- Width = 4284
- Prop33 = 0
- End
- Sub Command1_Click ()
- Unload fdialbox
- End Sub
- Sub VBFCombo1_SelChange (ID As Integer, Buffer As String)
- If (VBFCombo1.DriveValid) Then
- VBFCombo1.GotoDrive = True
- VBFList2.InValue = Left$(VBFCombo1.GetCurDir, Len(VBFCombo1.GetCurDir) - 1)
- VBFList1.InValue = VBFCombo1.GetCurDir + "*.*"
- MsgBox "Drive not ready!"
- VBFCombo1.InValue = VBFCombo1.GetCurDir
- End If
- End Sub
- Sub VBFList2_DblClick (ID As Integer)
- VBFList1.InValue = VBFList2.OutValue
- End Sub
-